OPC Studio User's Guide and Reference
CreateExternalCommandContextMenuItems(IEnumerable<Object>) Method



OpcLabs.BaseLibForms Assembly > OpcLabs.BaseLib.Forms.Browsing.Generalized Namespace > BrowseControl Class : CreateExternalCommandContextMenuItems(IEnumerable<Object>) Method
The node path of the node.

The value of this parameter cannot be null (Nothing in Visual Basic).

Returns the external context menu items to be displayed on a given node.
Syntax
'Declaration
 
<NotNullAttribute()>
Protected Overridable Function CreateExternalCommandContextMenuItems( _
   ByVal nodePath As IEnumerable(Of Object) _
) As IEnumerable(Of ToolStripItem)
'Usage
 
Dim instance As BrowseControl
Dim nodePath As IEnumerable(Of Object)
Dim value As IEnumerable(Of ToolStripItem)
 
value = instance.CreateExternalCommandContextMenuItems(nodePath)
[NotNull()]
protected virtual IEnumerable<ToolStripItem> CreateExternalCommandContextMenuItems( 
   IEnumerable<object> nodePath
)
[NotNull()]
protected:
virtual IEnumerable<ToolStripItem^>^ CreateExternalCommandContextMenuItems( 
   IEnumerable<Object^>^ nodePath
) 

Parameters

nodePath
The node path of the node.

The value of this parameter cannot be null (Nothing in Visual Basic).

Return Value

The external context menu items.

This method never returns null (Nothing in Visual Basic).

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also